package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.AgencyInfo;
import cn.wolfcode.crm.query.AgencyInfoQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IAgencyInfoService {
    void deleteByPrimaryKey(Long id);

    void insert(AgencyInfo record);

    AgencyInfo selectByPrimaryKey(Long id);

    List<AgencyInfo> selectAll();

    void updateByPrimaryKey(AgencyInfo record);

    PageResult query(AgencyInfoQueryObject qo);

    void changeSate(Long id);

    List<String> selectAgencyName();

    List<AgencyInfo> queryAll();
}